function [team_b] = strategy_team_b(A,B,S,L)

% if (L>1),
% 	scorerecord(L-1,1) = S;
% end

team_b(:,1) = move(B,L);
team_b(:,2) = -1;

end

%% move: gives the desired move of team b
function [outputs] = move(B,L)
	persistent direction = 1;
	X = B(1);
	if X==100
		direction = -1;
	elseif X==0
		direction = 1;
	end
	X+=direction;
	outputs = [X;B([2 3])];
end
